﻿// Copyright 2012 Stuart Turner
// Licensed under the Apache License, Version 2.0 [http://www.apache.org/licenses/LICENSE-2.0]

using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Linq.Expressions;
using System.Text;

using Complete.Data.Linq.Expressions;

namespace Complete.Data.Internal
{
	internal enum ResultType
	{
		Scalar,
		SingleResultSet,
		MultipleResultSets,
	}

	internal class FormattedExpression
	{
		public string CommandText;
		public SelectExpression Expression;
		public ResultType ResultType;
		public IEnumerable<DbParameter> Parameters;
	}
}
